package com.exam.itempool.model;

/**
 * SelectAnswer entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class SelectAnswer implements java.io.Serializable
{

	// Fields

	private Integer id;
	private QuestionSelect questionSelect;
	private String answer;

	// Constructors

	/** default constructor */
	public SelectAnswer()
	{
	}

	/** full constructor */
	public SelectAnswer(QuestionSelect questionSelect, String answer)
	{
		this.questionSelect = questionSelect;
		this.answer = answer;
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public QuestionSelect getQuestionSelect()
	{
		return this.questionSelect;
	}

	public void setQuestionSelect(QuestionSelect questionSelect)
	{
		this.questionSelect = questionSelect;
	}

	public String getAnswer()
	{
		return this.answer;
	}

	public void setAnswer(String answer)
	{
		this.answer = answer;
	}

}